package com.sgb.kjwl.model.entity;

import java.io.Serializable;
import java.util.List;

public class PublishLeaseDataEntity implements Serializable {

    private String categoryChildId;
    private String categoryParentId;
    private String categoryType;
    private String contactPerson;
    private String contactPhone;
    private String createCompanyName;
    private String createCompanyNo;
    private String createPhone;
    private String createTime;
    private String createType;
    private String createUserName;
    private String createUserNo;
    private String deleteStatus;
    private String endTime;
    private String id;
    private String isDriver;
    private String publishTime;
    private String quoteId;
    private String quotePersonCount;
    private String reatalAreaUnit = "㎡";
    private String remark;
    private String rentalArea;
    private String rentalBrandId;
    private String rentalCount;
    private String rentalDuration;
    private String rentalDurationUnit;
    private String rentalDurationUnitNo;

    private String rentalModelId;
    private String rentalPayMethod;
    private String rentalPrice;
    private String rentalQuotePeriod;
    private String rentalSelectPriceId;//价格单位no
    private String rentalSelectPrice;//价格单位名称
    private String rentalTitle;
    private String rentalUnit;
    private String status;
    private String storedDetail;
    private String updateTime;
    private String useAndEnterTime;
    private String seriesNo;//车系
    private String carLineName;//车系
    private String brandName;//机械、设备品牌（汉字）
    private String modelName; //机械、设备型号（汉字）
    private String floorStructure;//楼层结构(汉字)
    private RentAddress rentAddress = new RentAddress();

    private String categoryParentName;
    private String categoryChildName;
    private String categoryName;
    private String rentalBrandName;
    private String rentalModelName;

    private String provinceName;
    private String cityName;
    private String areaName;
    private String aircraftAge;// //机龄
    private String driverMaxAge; //驾驶员最大年龄
    private String driverMinAge; //驾驶员最小年龄
    private String drivingYears;//驾龄no
    private String drivingAgeText;//驾龄文字

    private AttachDTO attach = new AttachDTO();

    public String getDrivingAgeText() {
        if ("0".equals(drivingYears)) {
            this.drivingAgeText = "不限";
        } else if ("1".equals(drivingYears)) {
            this.drivingAgeText = "1年以上";
        } else if ("3".equals(drivingYears)) {
            this.drivingAgeText = "3年以上";
        } else if ("5".equals(drivingYears)) {
            this.drivingAgeText = "5年以上";
        } else if ("7".equals(drivingYears)) {
            this.drivingAgeText = "7年以上";
        } else if ("10".equals(drivingYears)) {
            this.drivingAgeText = "10年以上";
        } else {
            drivingAgeText = "";
        }
        return drivingAgeText;
    }

    public void setDrivingAgeText(String drivingAgeText) {
        this.drivingAgeText = drivingAgeText;
    }

    public String getDrivingYears() {
        return drivingYears;
    }

    public void setDrivingYears(String drivingYears) {
        this.drivingYears = drivingYears;
    }

    public String getRentalDurationUnitNo() {
        return rentalDurationUnitNo;
    }

    public void setRentalDurationUnitNo(String rentalDurationUnitNo) {
        this.rentalDurationUnitNo = rentalDurationUnitNo;
    }

    public String getDriverMaxAge() {
        return driverMaxAge;
    }

    public void setDriverMaxAge(String driverMaxAge) {
        this.driverMaxAge = driverMaxAge;
    }

    public String getDriverMinAge() {
        return driverMinAge;
    }

    public void setDriverMinAge(String driverMinAge) {
        this.driverMinAge = driverMinAge;
    }


    public String getAircraftAge() {
        return aircraftAge;
    }

    public void setAircraftAge(String aircraftAge) {
        this.aircraftAge = aircraftAge;
    }

    private String weixinFenXiangUrl;//微信分享专用Url前缀

    public AttachDTO getAttach() {
        return attach;
    }

    public void setAttach(AttachDTO attach) {
        this.attach = attach;
    }

    public static class AttachDTO {
        private String accident;//意外事故
        private List<ParamBean> deduction;//违规额外新增
        private String dormFee;//宿舍费用
        private String dormUtilities;//宿舍水电费
        private String downtime;//故障停机
        private String driverSalaryBonus;//驾驶员薪酬奖金
        private String driverStaying;//驾驶员食宿
        private String entryExitFees;//进退场费用
        private List<ParamBean> extra;//新增附加字段
        private String factoryUtilities;//厂房水电费
        private String firefightingFee;//消防费用
        private String fuelCosts;//燃油费
        private String identity;//0公司个人皆可，1仅限公司，2仅限个人
        private String insuranceFee;//保险费
        private String invoiceType;//0普通发票，1专用发票，2 不需要发票
        private String landAppraisalFee;//土地评估费用
        private String limited;//0不限，1限制企业注册地区
        private String machineryUnqualified;//机械不符合要求
        private String maintenanceCost;//保养费
        private String manageFee;//物业管理费
        private String mappingFee;//测绘费用
        private String overtimeEnterFactory;//超时未进厂
        private String performanceBond;//履约保证金
        private List<AreaBean> registrationArea;
        private String renovationFee;
        private String rentNo;
        private String repairCosts;
        private String societyFee;
        private String sparePartsCost;
        private String tariff;//税率
        private String telephoneFee;
        private String unfollowRules;//不遵守规章制度/违章交通事故
        private String utilities;
        private String warranty;//质保金
        private String warrantyPeriod;//质保期
        private String warrantyPeriodUnit;//质保期单位


        public String getAccident() {
            return accident;
        }

        public void setAccident(String accident) {
            this.accident = accident;
        }

        public List<ParamBean> getDeduction() {
            return deduction;
        }

        public void setDeduction(List<ParamBean> deduction) {
            this.deduction = deduction;
        }

        public String getDormFee() {
            return dormFee;
        }

        public void setDormFee(String dormFee) {
            this.dormFee = dormFee;
        }

        public String getDormUtilities() {
            return dormUtilities;
        }

        public void setDormUtilities(String dormUtilities) {
            this.dormUtilities = dormUtilities;
        }

        public String getDowntime() {
            return downtime;
        }

        public void setDowntime(String downtime) {
            this.downtime = downtime;
        }

        public String getDriverSalaryBonus() {
            return driverSalaryBonus;
        }

        public void setDriverSalaryBonus(String driverSalaryBonus) {
            this.driverSalaryBonus = driverSalaryBonus;
        }

        public String getDriverStaying() {
            return driverStaying;
        }

        public void setDriverStaying(String driverStaying) {
            this.driverStaying = driverStaying;
        }

        public String getEntryExitFees() {
            return entryExitFees;
        }

        public void setEntryExitFees(String entryExitFees) {
            this.entryExitFees = entryExitFees;
        }

        public List<ParamBean> getExtra() {
            return extra;
        }

        public void setExtra(List<ParamBean> extra) {
            this.extra = extra;
        }

        public String getFactoryUtilities() {
            return factoryUtilities;
        }

        public void setFactoryUtilities(String factoryUtilities) {
            this.factoryUtilities = factoryUtilities;
        }

        public String getFirefightingFee() {
            return firefightingFee;
        }

        public void setFirefightingFee(String firefightingFee) {
            this.firefightingFee = firefightingFee;
        }

        public String getFuelCosts() {
            return fuelCosts;
        }

        public void setFuelCosts(String fuelCosts) {
            this.fuelCosts = fuelCosts;
        }

        public String getIdentity() {
            return identity;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }

        public String getInsuranceFee() {
            return insuranceFee;
        }

        public void setInsuranceFee(String insuranceFee) {
            this.insuranceFee = insuranceFee;
        }

        public String getInvoiceType() {
            return invoiceType;
        }

        public void setInvoiceType(String invoiceType) {
            this.invoiceType = invoiceType;
        }

        public String getLandAppraisalFee() {
            return landAppraisalFee;
        }

        public void setLandAppraisalFee(String landAppraisalFee) {
            this.landAppraisalFee = landAppraisalFee;
        }

        public String getLimited() {
            return limited;
        }

        public void setLimited(String limited) {
            this.limited = limited;
        }

        public String getMachineryUnqualified() {
            return machineryUnqualified;
        }

        public void setMachineryUnqualified(String machineryUnqualified) {
            this.machineryUnqualified = machineryUnqualified;
        }

        public String getMaintenanceCost() {
            return maintenanceCost;
        }

        public void setMaintenanceCost(String maintenanceCost) {
            this.maintenanceCost = maintenanceCost;
        }

        public String getManageFee() {
            return manageFee;
        }

        public void setManageFee(String manageFee) {
            this.manageFee = manageFee;
        }

        public String getMappingFee() {
            return mappingFee;
        }

        public void setMappingFee(String mappingFee) {
            this.mappingFee = mappingFee;
        }

        public String getOvertimeEnterFactory() {
            return overtimeEnterFactory;
        }

        public void setOvertimeEnterFactory(String overtimeEnterFactory) {
            this.overtimeEnterFactory = overtimeEnterFactory;
        }

        public String getPerformanceBond() {
            return performanceBond;
        }

        public void setPerformanceBond(String performanceBond) {
            this.performanceBond = performanceBond;
        }

        public List<AreaBean> getRegistrationArea() {
            return registrationArea;
        }

        public void setRegistrationArea(List<AreaBean> registrationArea) {
            this.registrationArea = registrationArea;
        }

        public String getRenovationFee() {
            return renovationFee;
        }

        public void setRenovationFee(String renovationFee) {
            this.renovationFee = renovationFee;
        }

        public String getRentNo() {
            return rentNo;
        }

        public void setRentNo(String rentNo) {
            this.rentNo = rentNo;
        }

        public String getRepairCosts() {
            return repairCosts;
        }

        public void setRepairCosts(String repairCosts) {
            this.repairCosts = repairCosts;
        }

        public String getSocietyFee() {
            return societyFee;
        }

        public void setSocietyFee(String societyFee) {
            this.societyFee = societyFee;
        }

        public String getSparePartsCost() {
            return sparePartsCost;
        }

        public void setSparePartsCost(String sparePartsCost) {
            this.sparePartsCost = sparePartsCost;
        }

        public String getTariff() {
            return tariff;
        }

        public void setTariff(String tariff) {
            this.tariff = tariff;
        }

        public String getTelephoneFee() {
            return telephoneFee;
        }

        public void setTelephoneFee(String telephoneFee) {
            this.telephoneFee = telephoneFee;
        }

        public String getUnfollowRules() {
            return unfollowRules;
        }

        public void setUnfollowRules(String unfollowRules) {
            this.unfollowRules = unfollowRules;
        }

        public String getUtilities() {
            return utilities;
        }

        public void setUtilities(String utilities) {
            this.utilities = utilities;
        }

        public String getWarranty() {
            return warranty;
        }

        public void setWarranty(String warranty) {
            this.warranty = warranty;
        }

        public String getWarrantyPeriod() {
            return warrantyPeriod;
        }

        public void setWarrantyPeriod(String warrantyPeriod) {
            this.warrantyPeriod = warrantyPeriod;
        }

        public String getWarrantyPeriodUnit() {
            return warrantyPeriodUnit;
        }

        public void setWarrantyPeriodUnit(String warrantyPeriodUnit) {
            this.warrantyPeriodUnit = warrantyPeriodUnit;
        }


    }

    public String getWeixinFenXiangUrl() {
        return weixinFenXiangUrl;
    }

    public void setWeixinFenXiangUrl(String weixinFenXiangUrl) {
        this.weixinFenXiangUrl = weixinFenXiangUrl;
    }

    public String getSeriesNo() {
        return seriesNo;
    }

    public void setSeriesNo(String seriesNo) {
        this.seriesNo = seriesNo;
    }

    public String getCarLineName() {
        return carLineName;
    }

    public void setCarLineName(String carLineName) {
        this.carLineName = carLineName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getFloorStructure() {
        return floorStructure;
    }

    public void setFloorStructure(String floorStructure) {
        this.floorStructure = floorStructure;
    }

    public RentAddress getRentAddress() {
        return rentAddress;
    }

    public void setRentAddress(RentAddress rentAddress) {
        this.rentAddress = rentAddress;
    }

    public String getCategoryChildId() {
        return categoryChildId;
    }

    public void setCategoryChildId(String categoryChildId) {
        this.categoryChildId = categoryChildId;
    }

    public String getCategoryParentId() {
        return categoryParentId;
    }

    public void setCategoryParentId(String categoryParentId) {
        this.categoryParentId = categoryParentId;
    }

    public String getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(String categoryType) {
        this.categoryType = categoryType;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getCreateCompanyName() {
        return createCompanyName;
    }

    public void setCreateCompanyName(String createCompanyName) {
        this.createCompanyName = createCompanyName;
    }

    public String getCreateCompanyNo() {
        return createCompanyNo;
    }

    public void setCreateCompanyNo(String createCompanyNo) {
        this.createCompanyNo = createCompanyNo;
    }

    public String getCreatePhone() {
        return createPhone;
    }

    public void setCreatePhone(String createPhone) {
        this.createPhone = createPhone;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateType() {
        return createType;
    }

    public void setCreateType(String createType) {
        this.createType = createType;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getCreateUserNo() {
        return createUserNo;
    }

    public void setCreateUserNo(String createUserNo) {
        this.createUserNo = createUserNo;
    }

    public String getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(String deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIsDriver() {
        return isDriver;
    }

    public void setIsDriver(String isDriver) {
        this.isDriver = isDriver;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getQuoteId() {
        return quoteId;
    }

    public void setQuoteId(String quoteId) {
        this.quoteId = quoteId;
    }

    public String getQuotePersonCount() {
        return quotePersonCount;
    }

    public void setQuotePersonCount(String quotePersonCount) {
        this.quotePersonCount = quotePersonCount;
    }

    public String getReatalAreaUnit() {
        return reatalAreaUnit;
    }

    public void setReatalAreaUnit(String reatalAreaUnit) {
        this.reatalAreaUnit = reatalAreaUnit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRentalArea() {
        return rentalArea;
    }

    public void setRentalArea(String rentalArea) {
        this.rentalArea = rentalArea;
    }

    public String getRentalBrandId() {
        return rentalBrandId;
    }

    public void setRentalBrandId(String rentalBrandId) {
        this.rentalBrandId = rentalBrandId;
    }

    public String getRentalCount() {
        return rentalCount;
    }

    public void setRentalCount(String rentalCount) {
        this.rentalCount = rentalCount;
    }

    public String getRentalDuration() {
        return rentalDuration;
    }

    public void setRentalDuration(String rentalDuration) {
        this.rentalDuration = rentalDuration;
    }

    public String getRentalDurationUnit() {
        return rentalDurationUnit;
    }

    public void setRentalDurationUnit(String rentalDurationUnit) {
        this.rentalDurationUnit = rentalDurationUnit;
    }

    public String getRentalModelId() {
        return rentalModelId;
    }

    public void setRentalModelId(String rentalModelId) {
        this.rentalModelId = rentalModelId;
    }

    public String getRentalPayMethod() {
        return rentalPayMethod;
    }

    public void setRentalPayMethod(String rentalPayMethod) {
        this.rentalPayMethod = rentalPayMethod;
    }

    public String getRentalPrice() {
        return rentalPrice;
    }

    public void setRentalPrice(String rentalPrice) {
        this.rentalPrice = rentalPrice;
    }

    public String getRentalQuotePeriod() {
        return rentalQuotePeriod;
    }

    public void setRentalQuotePeriod(String rentalQuotePeriod) {
        this.rentalQuotePeriod = rentalQuotePeriod;
    }

    public String getRentalSelectPriceId() {
        return rentalSelectPriceId;
    }

    public void setRentalSelectPriceId(String rentalSelectPriceId) {
        this.rentalSelectPriceId = rentalSelectPriceId;
    }

    public String getRentalSelectPrice() {
        return rentalSelectPrice;
    }

    public void setRentalSelectPrice(String rentalSelectPrice) {
        this.rentalSelectPrice = rentalSelectPrice;
    }

    public String getRentalTitle() {
        return rentalTitle;
    }

    public void setRentalTitle(String rentalTitle) {
        this.rentalTitle = rentalTitle;
    }

    public String getRentalUnit() {
        return rentalUnit;
    }

    public void setRentalUnit(String rentalUnit) {
        this.rentalUnit = rentalUnit;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStoredDetail() {
        return storedDetail;
    }

    public void setStoredDetail(String storedDetail) {
        this.storedDetail = storedDetail;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUseAndEnterTime() {
        return useAndEnterTime;
    }

    public void setUseAndEnterTime(String useAndEnterTime) {
        this.useAndEnterTime = useAndEnterTime;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryChildName() {
        return categoryChildName;
    }

    public void setCategoryChildName(String categoryChildName) {
        this.categoryChildName = categoryChildName;
    }

    public String getRentalBrandName() {
        return rentalBrandName;
    }

    public void setRentalBrandName(String rentalBrandName) {
        this.rentalBrandName = rentalBrandName;
    }

    public String getRentalModelName() {
        return rentalModelName;
    }

    public void setRentalModelName(String rentalModelName) {
        this.rentalModelName = rentalModelName;
    }

    public String getCategoryParentName() {
        return categoryParentName;
    }

    public void setCategoryParentName(String categoryParentName) {
        this.categoryParentName = categoryParentName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public static class RentAddress implements Serializable {
        private String areaId;
        private String cityId;

        public String getAreaId() {
            return areaId;
        }

        public void setAreaId(String areaId) {
            this.areaId = areaId;
        }

        public String getCityId() {
            return cityId;
        }

        public void setCityId(String cityId) {
            this.cityId = cityId;
        }

        public String getProvinceId() {
            return provinceId;
        }

        public void setProvinceId(String provinceId) {
            this.provinceId = provinceId;
        }

        public String getRentalAddress() {
            return rentalAddress;
        }

        public void setRentalAddress(String rentalAddress) {
            this.rentalAddress = rentalAddress;
        }

        public String getTaskaddr() {
            return taskaddr;
        }

        public void setTaskaddr(String taskaddr) {
            this.taskaddr = taskaddr;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

      /*  public String getProvinceName() {
            return provinceName;
        }

        public void setProvinceName(String provinceName) {
            this.provinceName = provinceName;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }*/

        private String provinceId;
        private String rentalAddress;
        private String taskaddr;
        private String latitude;
        private String longitude;
/*
        private String provinceName;
        private String cityName;
        private String areaName;*/
    }

    public static class ParamBean {
        /**
         * [{title: "自定义", content: "1111"}, {title: "自定义二", content: "222"}]
         */
        private String content;//内容
        private String title; //标题

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class AreaBean {
        /**
         * [{no: "610100", name: "西安市"}, {no: "610100", name: "西安市"}]
         */
        private String name;//内容
        private String no; //标题

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }
    }
}
